<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 2.字符串拼接 +
        console.log('沙漠' + '骆驼');//沙漠骆驼
        console.log('pink老师' + 18);//pink老师18
        console.log('pink' + true);//pinktrue
        console.log(12 + 12);//24
        console.log('12' + 12);//1212
    </script>
</head>

<body>

</body>

</html>